package com.fourth.service;

import com.fourth.entity.Address;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface AddressService {
    List<Address> queryById(Integer uid);


     int changeTakeDeliveryAddress(Integer uId, Integer aId);

     int defaultAddress(Integer uId, Integer aId);

    Address selectTDAddressByUid(Integer uId);

    int insertAddress(Address address , @Param("uId") Integer uId);


}
